import request from '@/utils/request'

export function addCityStorage(data) {
  return request({
    url: '/operate/storage/saveCityStorage',
    headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
    method: 'post',
    data
  })
}

//获取市仓
export function getCityStorage() {
    return request({
      url: '/operate/depotManage/getStorage',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
        },
      method: 'post',
    })
  } 
  export function getEchartList() {
    return request({
      url: '/operate/depotManage/getCountyData',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
        },
      method: 'get',
    })
  } 
  
  export function getxiangqingList(params) {
    return request({
      url: '/operate/storage/getProInfoList',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8',
        'page-num':params.pageNum,
        'page-size':params.pageSize
        },
      method: 'get',
      params:params
    })
  } 
  